
package com.hlkj.pay.infrastructure.model.merchant.fund;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商户分账账号表
 * 
 * @TableName t_merchant_fund_account
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_fund_account")
public class MerchantFundAccountDO extends BaseDO {

    /**
     * 商户商户号
     */
    @Schema(description = "商户商户号")
    private String sn;

    /**
     * 商户类型，1=个人，2=企业
     */
    @Schema(description = "商户类型，1=个人，2=企业")
    private Integer type;

    /**
     * 账号名
     */
    @Schema(description = "账号名")
    private String name;

    /**
     * 通道编码
     */
    @Schema(description = "通道编码")
    private String mchChannelCode;

    /**
     * 审核状态，0：关闭 1 启用
     */
    @Schema(description = "审核状态，0：关闭 1 启用")
    private Integer status;

    /**
     * 渠道单号
     */
    @Schema(description = "渠道单号")
    private String applyNo;

    /**
     * 分账接受方商户号
     */
    @Schema(description = "分账接受方")
    private String accountNo;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 请求id
     */
    @Schema(description = "请求id")
    private String requestId;

    /**
     * 进件单号
     */
    @Schema(description = "进件单号")
    private String mchOrderNo;

    /**
     * 异步通知地址
     */
    @Schema(description = "异步通知地址")
    private String notifyUrl;

    /**
     * app_id
     */
    @Schema(description = "app_id")
    private String appId;

    /**
     * signType
     */
    @Schema(description = "signType")
    private String signType;

    /**
     * 分账类型 ，1=系统分账，0=商户手动分账
     */
    @Schema(description = "分账类型 ，1=系统分账，0=商户手动分账")
    private Integer fundProcessType;

}
